<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="自动添加好友" name="2">
      <beath-auto v-if="activeName == '2'"/>
    </el-tab-pane>
    <el-tab-pane label="手动添加好友" name="1">
      <beathMenual v-if="activeName == '1'"/>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import beathMenual  from "@/views/customerOperations/attractCustomers/beath/beathMenual.vue";
import beathAuto from "@/views/customerOperations/attractCustomers/beath/beathAuto.vue";

export default {
  components: { beathMenual, beathAuto },
  name: 'beath',
  data() { return { activeName: '2' } },
  mounted() {
    if(this.$route.query.activeName) this.activeName = this.$route.query.activeName
  }
}
</script>


<style lang="scss" scoped></style>
